home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
comm
/
fido
/
wpl_intro.lzh
/
rexx
/
wsched.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1993-01-28
|
592b
|
37 lines
/*
* Basic WPL Fidonet/UUCP scheduler
*
*/
Options RESULTS
Options failat 99999
address rexx
if (~openport('wsched')) then do
say 'not unique'
exit 1
end
setclip('wsched','go')
say "WSched Starting"
do while (Getclip('wsched') == 'go')
say getclip('wshed')
say 'calling uupoll'
call uupoll('hasmail')
say 'calling fidopoll'
call fidopoll()
adelay= Getclip('wsched-quantum')
if ( words(adelay) == 1) then do
say 'doing delay of 'adelay' seconds'
call delay (50*adelay) /* delay for 'adelay' seconds */
end
end
say "WSched Exit"